# Contributor: Sodface <sod@sodface.com>
# Maintainer: Sodface <sod@sodface.com>
pkgname=tio
pkgver=1.43
pkgrel=0
pkgdesc="Simple TTY Terminal I/O Application"
url="https://github.com/tio/tio"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	bash-completion
	inih-dev
	linux-headers
	meson
	"
options="!check" # no test suite
subpackages="$pkgname-doc $pkgname-bash-completion"
source="https://github.com/tio/tio/releases/download/v$pkgver/tio-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
76ee3936cdc23271229b5c2c98b2515fe5055a58f2c3b1872387ea144b96126e987eaa417e9aef64eccb0d6d067cf7717718e5420530d5ddde1aa2fca7711f53  tio-1.43.tar.xz
"
